--TEST--
Avahi_Service::setHostname() member function
--SKIPIF--
<?php 

if(!extension_loaded('avahii')) die('skip ');

 ?>
--FILE--
<?php
    $avahi = new Avahi_Service();
    $avahi2 = $avahi->setHostname("testHostname");
    var_dump($avahi->getHostname());
    var_dump($avahi2 === $avahi);

?>
--EXPECTF--
     string(12) "testHostname"
bool(true)
